<template>
    <div>
      <button @click="increment">+1</button>
      <div>{{counter}}</div>
    </div>
</template>

<script>
import { ref } from 'vue'
export default {
  props: {
    message: String
  },
  // setup(props, context) {
  setup() {
    let counter = ref(100)
    const increment = () => {
      console.log('increment')
      counter.value++
    }
    return {
      counter,
      increment
    }
  }
}
</script>

<style>

</style>